﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlContractSheduleSideList.ascx.cs" Inherits="Ctl_ctlContractSheduleSideList" %>
<%@ Register src="ctlFilterEditor.ascx" tagname="ctlFilterEditor" tagprefix="uc1" %>
<%@ Register assembly="UIControls" namespace="UIControls" tagprefix="cc1" %>
<%@ Register src="ctlSideSheduleRows.ascx" tagname="ctlSideSheduleRows" tagprefix="uc2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server"  >
<ContentTemplate >

<table cellpadding="2" cellspacing="0" width="100%">
    <tr class="TblCaption">
        <td class="grd_td_item" style="width :20px">
            &nbsp;</td>
        <td class="grd_td_item" style="width :350px">
            &nbsp;</td>
        <td class="grd_td_item" style="text-align :left; width :250px ">
            <table cellpadding="0" cellspacing="0" style="width :100%">
                <tr>
                    <td style="width :5px">
                        <asp:DropDownList ID="cmbPeriodType" Width ="100px" CssClass ="TextBox" runat="server">
                            <asp:ListItem Value ="Month" > Месяц</asp:ListItem>
                            <asp:ListItem Value="Week"> Неделя</asp:ListItem>
                            <asp:ListItem Value="Day"> День</asp:ListItem>
                            </asp:DropDownList>
                    </td>
                    <td style="width :100px">
                        <cc1:TextBox_Date ID="txtDtStart" runat="server" CssClass="TextBox" 
                            Width="150px" MaxDate="12/31/2020 23:59:00" MinDate="12/31/2000 23:59:00"></cc1:TextBox_Date>
                            <cc1:CalendarExtender ID="txtFinish_CalendarExtender" runat="server" 
                                 Enabled="True" Format="dd.MM.yyyy" PopupPosition="BottomRight" 
                                 TargetControlID="txtDtStart">
                             </cc1:CalendarExtender>
                    </td>
                    <td style="width :15px">
                        &nbsp;
                    </td>
                    <td style="width :100px">
                        <cc1:TextBox_Date ID="txtDtFinish" runat="server" CssClass="TextBox" 
                            Width="150px" MaxDate="12/31/2020 23:59:00" MinDate="12/31/2000 23:59:00"></cc1:TextBox_Date>
                            <cc1:CalendarExtender ID="txtFinish_CalendarExtender0" runat="server" 
                                 Enabled="True" Format="dd.MM.yyyy" PopupPosition="BottomLeft"  
                                 TargetControlID="txtDtFinish">
                             </cc1:CalendarExtender>
                    </td>
                    <td style="width :10px">
                        &nbsp;
                    </td>
                    <td style="width:20px">
                        <asp:ImageButton ID="btnFind" runat="server" Height="16px" 
                            ImageUrl="~/images/search_button.gif" onclick="btnFind_Click" 
                            OnClientClick="skm_LockScreen();" style="width: 12px;" />
                    </td>
                </tr>
            </table>
        </td>
        <td class="grd_td_item">
            &nbsp;</td>
    </tr>
</table>


    <uc1:ctlFilterEditor ID="ctlFilterEditor1" runat="server" />
</ContentTemplate> 
</asp:UpdatePanel> 
    

<asp:UpdatePanel ID="updRows" runat="server" UpdateMode ="Conditional"  >
<ContentTemplate >
    <uc2:ctlSideSheduleRows ID="ctlSideSheduleRows1" runat="server" />
</ContentTemplate> 
</asp:UpdatePanel> 





